<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>变换</title>
	<style type="text/css">
		div{
			width: 200px;
			height: 200px;
			background-color: gold;
			float: left;
			margin:30px;
			transition: all 500ms ease;
		}
		div:nth-child(1){
			transform-origin: left center;
		}
		div:nth-child(2){
			transform-origin: left top;
		}
		div:nth-child(3){
			transform-origin: 250px 450px;
		}
		div:hover{
			transform: rotate(360deg);
		}
	</style>
</head>
<body>
	<div></div>
	<div></div>
	<div></div>
	<div></div>
</body>
</html>